home *** CD-ROM | disk | FTP | other *** search
/ Alles Voor Internet / Tout Pour Internet / alles voor internet.iso / MacInternet™ / Telnet / NCSA / tn3270 2.4d7 source / NCSA⁄BYU TCP⁄IP / configrec.h < prev    next >
Text File  |  1991-12-16  |  3KB  |  62 lines

  1. /*
  2. *    configrec.c
  3. *    User interface code for NCSA Telnet for the Macintosh
  4. *     by Gaige B. Paulsen
  5. ****************************************************************************
  6. *                                                                          *
  7. *      Uses    :                                                               *
  8. *      TCP/IP kernel for NCSA Telnet                                       *
  9. *      by Tim Krauskopf                                                    *
  10. *       with Macintosh code by Gaige B. Paulsen                                 *
  11. *                                                                          *
  12. *      National Center for Supercomputing Applications                     *
  13. *      152 Computing Applications Building                                 *
  14. *      605 E. Springfield Ave.                                             *
  15. *      Champaign, IL  61820                                                *
  16. *                                                                          *
  17. *                                                                          *
  18. ****************************************************************************
  19. *
  20. *    Configuration structure.    
  21. *
  22. *    Included by:
  23. *        config.c
  24. *        menu.c
  25. *        maclook.c
  26. */
  27.  
  28. typedef struct {
  29.     int                        /* BYU */
  30.         ftpstate,            /* BYU - 0 = Telnet session, 1 = Ftp session */
  31.         bsdel,                /* BYU - True if Backspace should remap to delete */
  32.         tektype,            /* 0 for 4014, 1 for 4105 */
  33.         width,                /* Width of screen in columns 80/132 */
  34.         clearsave,            /* True if should save cleared screen lines */
  35.         tekclear,            /* True if clear on ESC-FF, False if new window */
  36.         halfdup,            /* True if send immediate and echo arrows in Telnet NO ECHO mode */
  37.         crmap,                /* True if CR-NUL */
  38.         vtwrap,                /* True if Terminal WRAP setting is enabled by default */
  39.         nlines,                /* number of usable lines in the window */
  40.         port,                /* what TCP port number to connect to, TELNET == 23 */
  41.         lineAllow,            /* allow linemode? */
  42.         eightbit,            /* eight bit font? */                /* BYU 2.4.9 */
  43.         scrollback;            /* # of lines of scrollback */
  44.     short font;                /* Font ID */
  45.     short ftpwind;            /* is it an ftp window? */
  46.     int fsize;                /* Font size */
  47.     unsigned int 
  48.         red[4],                /* Colors: 1-NF, 2-NB, 3-BF, 4-BB */
  49.         green[4],
  50.         blue[4];
  51.     char 
  52.         TELstop,            /* Character for scrolling to stop */
  53.         TELgo,                /* Character for scrolling to go */
  54.         TELip,                /* Character for interrupt process */
  55.         *name,                /* Window name */
  56.          *machine;            /* Machine Name */
  57.     Rect window,            /* Window Rectangle (USER) */
  58.          stdwindow;            /* Window Rectangle (Standard */
  59.     } ConfigRec;
  60.  
  61.  
  62.